/**
 * @file weather.h
 *
 */
#ifndef WEATHER_H
#define WEATHER_H

#ifdef __cplusplus
extern "C" {
#endif

/*********************
 *      INCLUDES
 *********************/

#ifdef LV_CONF_INCLUDE_SIMPLE
#include "lvgl.h"
#include "lv_watch_conf.h"
#else
#include "../../../lvgl/lvgl.h"
#include "../../../lv_watch_conf.h"
#endif

#if USE_LV_WATCH_WEATHER != 0

/*********************
 *      DEFINES
 *********************/

/**********************
 *      TYPEDEFS
 **********************/
typedef struct {
    const void * img_src;
    watchLangTxtId_t txtId;
} watch_weather_list;

typedef struct
{
    lv_cont_ext_t oldext;
    lv_obj_t      *content1;
    lv_obj_t      *content2;
    lv_obj_t      *content3;
} lv_weather_ext_t;

/**********************
 * GLOBAL PROTOTYPES
 **********************/
lv_obj_t * weather_create(lv_obj_t * tilevew, uint16_t id);
/**********************
 *      MACROS
 **********************/

#endif /*USE_LV_WATCH_WEATHER*/

#ifdef __cplusplus
} /* extern "C" */
#endif

#endif /*WEATHER_H*/
